package com.ruoyi.quality.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 焊缝探伤信息视图对象 quality_seam_rate
 *
 * @author ruoyi
 * @date 2024-01-26
 */
@Data
@ExcelIgnoreUnannotated
public class QualitySeamRateImportVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 零件id
     */
    @ExcelProperty(value = "零件id")
    private Long partId;

    /**
     * 部门简称
     */
    @ExcelProperty(value = "部门简称", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "dept_abbreviation")
    private String deptAbbreviation;

    /**
     * 检验员id
     */
    @ExcelProperty(value = "检验员id")
    private Long inspector;

    /**
     * 焊工工号
     */
    @ExcelProperty(value = "焊工工号")
    private String userName;

    /**
     * 总长度
     */
    @ExcelProperty(value = "总长度")
    private Long totalLenth;

    /**
     * 缺陷长度
     */
    @ExcelProperty(value = "缺陷长度")
    private Long defectLenth;

    /**
     * 合格率
     */
    @ExcelProperty(value = "合格率")
    private Double rate;

    /**
     * 时间
     */
    @ExcelProperty(value = "时间")
    private Date date;


}
